package com.example.demo1.controller;

import com.badger.common.result.Response;
import com.example.demo1.api.DemoFacade;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class TestController {

    @Resource
    DemoFacade demoFacade;
    @RequestMapping("hi")
    public Response get(){
        return demoFacade.getTest(1);
    }

}
